﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace NDBGen.Plugins.Descriptors.Tables.Tokens
{
    internal static class TableMetadataHelper
    {
        public static readonly String[] NoCustomAttributes = new String[0];
        public static readonly String NoSql = String.Empty;

        public static class CustomAttributes
        {
            public static readonly OrderedKeyedMetadataValue DataContractFormat = new OrderedKeyedMetadataValue(1, "DataContract", "[DataContract(Name = \"{0}\")]");
            public static readonly OrderedKeyedMetadataValue Flags = new OrderedKeyedMetadataValue(Int32.MaxValue, "Flags", "[Flags]");
        }

        internal static readonly Char[] ReservedTokenChars = new Char[] { '.', '|' };
    }
}